package com.edgegateway.system.mapper;

import java.util.List;
import com.edgegateway.system.domain.IotRuleFlow;

/**
 * 规则编排Mapper接口
 * 
 * @author ruoyi
 * @date 2023-01-03
 */
public interface IotRuleFlowMapper 
{
    /**
     * 查询规则编排
     * 
     * @param id 规则编排主键
     * @return 规则编排
     */
    public IotRuleFlow selectIotRuleFlowById(String id);

    /**
     * 查询规则编排列表
     * 
     * @param iotRuleFlow 规则编排
     * @return 规则编排集合
     */
    public List<IotRuleFlow> selectIotRuleFlowList(IotRuleFlow iotRuleFlow);

    /**
     * 新增规则编排
     * 
     * @param iotRuleFlow 规则编排
     * @return 结果
     */
    public int insertIotRuleFlow(IotRuleFlow iotRuleFlow);

    /**
     * 修改规则编排
     * 
     * @param iotRuleFlow 规则编排
     * @return 结果
     */
    public int updateIotRuleFlow(IotRuleFlow iotRuleFlow);

    /**
     * 删除规则编排
     * 
     * @param id 规则编排主键
     * @return 结果
     */
    public int deleteIotRuleFlowById(String id);

    /**
     * 批量删除规则编排
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteIotRuleFlowByIds(String[] ids);

    List<IotRuleFlow> getAll();

    IotRuleFlow getIotRuleFlowByFlowId(String flowId);
}
